package org.kyw.basic.query;

import lombok.Data;

/**
 * 基础query
 */
@Data
public class BaseQuery {
    private Integer currentPage = 1;
    private Integer pageSize = 5;
    private String keyword;

    private Integer getStart(){
        return (this.currentPage - 1) * pageSize;
    }
}
